package hu.diploma.web.shared;

import java.io.Serializable;

import com.extjs.gxt.ui.client.data.BaseModel;

public class ComboBoxItem extends BaseModel implements Serializable {
	private String value;
	private String text;

	public ComboBoxItem() {
		super();
	}

	public ComboBoxItem(String value, String text) {
		super();
		setValue(value);
		setText(text);
	}

	public void setValue(String value) {
		set("value", value);
	}

	public String getValue() {
		return get("value");
	}

	public void setText(String text) {
		set("text", text);
	}

	public String getText() {
		return get("text");
	}

	@Override
	public String toString() {
		return "ComboBoxItem [value=" + value + ", text=" + text + "]";
	}

}